{template 'webheader'} {template 'common/header'}
<script>
    ; (function (b) { function a(c) { this.$textarea = b(c); this._init() } a.prototype = { _init: function () { var c = this; this.$textarea.wrap('<div class="flex-text-wrap" />').before("<pre><span /><br /><br /></pre>"); this.$span = this.$textarea.prev().find("span"); this.$textarea.on("input propertychange keyup change", function () { c._mirror() }); b.valHooks.textarea = { get: function (d) { return d.value.replace(/\r?\n/g, "\r\n") } }; this._mirror() }, _mirror: function () { this.$span.text(this.$textarea.val()) } }; b.fn.flexText = function () { return this.each(function () { if (!b.data(this, "flexText")) { b.data(this, "flexText", new a(this)) } }) } })(jQuery);
</script>
<style>
    .help-text {
        padding: 5px 0;
        font-size: 15px;
        color: red;
        display: block;
    }

    .flex-text-wrap {
        position: relative;

        *zoom: 1;
    }

    textarea,
    .flex-text-wrap {
        outline: 0;
        margin: 0;
        border: none;
        padding: 0;

        *padding-bottom: 0 !important;
    }

    .flex-text-wrap textarea,
    .flex-text-wrap pre {
        white-space: pre-wrap;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;

        *white-space: pre;
        *word-wrap: break-word;
    }

    .flex-text-wrap textarea {
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        resize: none;

        /* IE7 box-sizing fudge factor */
        *height: 94%;
        *width: 94%;
    }

    .flex-text-wrap pre {
        display: block;
        visibility: hidden;
    }

    textarea,
    .flex-text-wrap pre {
        /*
     * Add custom styling here
     * Ensure that typography, padding, border-width (and optionally min-height) are identical across textarea & pre
     */
    }

    .help-text {
        padding: 5px 0;
        font-size: 15px;
        color: red;
        display: block;
    }
</style>
<div class="panel panel-info">
    <div class="panel-heading">参数</div>
    <div class="panel-body">
        {php $index = murl('entry',array('do'=>'cover','m'=>$_W['current_module']['name']),'',true)}
        <div class="list-group">
            <span href="#" class="list-group-item">首页: {$index}</span>
            <span href="#" class="list-group-item">个人: {$index}#my</span>
            <span href="#" class="list-group-item">提现: {$index}#atm</span>
            <span href="#" class="list-group-item">邀请: {$index}#refer</span>
          </div>
    </div>
</div>
<ul class="nav nav-tabs" role="tablist">
    <li role="presentation" class="{php echo (!$_GPC['op']||$_GPC['op']=='index')?'active':''}">
        <a href="{php echo $this->createWebUrl('config',array('op'=>'index'))}">基础设置</a>
    </li>
     <li role="presentation" class="{php echo $_GPC['op']=='zanzhu'?'active':''}">
        <a href="{php echo $this->createWebUrl('config',array('op'=>'zanzhu'))}">赞助设置</a>
    </li> 
    <li role="presentation" class="{php echo $_GPC['op']=='warn'?'active':''}">
        <a href="{php echo $this->createWebUrl('config',array('op'=>'warn'))}">提醒设置</a>
    </li>
    <li role="presentation" class="{php echo $_GPC['op']=='menu'?'active':''}">
        <a href="{php echo $this->createWebUrl('config',array('op'=>'menu'))}">菜单设置</a>
    </li>
    <li role="presentation" class="{php echo $_GPC['op']=='black'?'active':''}">
        <a href="{php echo $this->createWebUrl('config',array('op'=>'black'))}">黑名单设置</a>
    </li>
</ul>
<div class="panel panel-info">
    <div class="panel-heading">参数</div>
    <div class="panel-body">
        {if (!$_GPC['op']||$_GPC['op']=='index')} {template 'config/index'} {/if} 
        {if ($_GPC['op']=='zanzhu')} {template 'config/zanzhu'}{/if}
        {if ($_GPC['op']=='warn')} {template 'config/warn'}{/if}
        {if ($_GPC['op']=='menu')} {template 'config/menu'}{/if}
        {if ($_GPC['op']=='black')} {template 'config/black'}{/if}
    </div>
</div>
{template 'common/footer'}